package transforms;

import com.rshacking.rhf.files.ClassContainer;
import com.rshacking.rhf.updater.Transform;
import com.rshacking.rhf.updater.hooks.HooksList;

public class FinderTransform extends Transform {

    @Override
    public boolean canActivate(final HooksList arg0, final ClassContainer arg1) {
        return arg1.getSuperName().equals("MouseListener");
    }

    @Override
    public boolean execute(final HooksList arg0, final ClassContainer arg1) {
        System.out.println(arg1.getName() + " extends " + arg1.getSuperName());
        return false;
    }

}
